package com.steed.rocketmq.consumer.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * ONS 消费者配置
 *
 * @author za-zhubin002
 * Created in 15:21 2017/10/31
 */
@ConfigurationProperties(OnsConsumerProperties.PREFIX)
@Data
public class OnsConsumerProperties {

    public static final String PREFIX = "wow.ons.consumer";

    /** MQ控制台创建的Consumer ID */
    private String consumer_id;

    /** 阿里云身份验证码 */
    private String access_key;

    /** 身份验证密钥 */
    private String secret_key;

    /** URL */
    private String ons_addr;
}
